﻿namespace Game.FlowField.Input
{
    public abstract class OperationBase<T> : IOperationBase where T : OperationBase<T>
    {
        public void Cache()
        {
            ObjectPool<T>.Cache(this as T);
        }
    }

    public interface IOperationBase
    {
        public void Cache();
    }
}